﻿function Validate() {
    var obj_txtQuestion = document.getElementById('ctl00_ctl00_ASPxSplitter1_Content_ContentSplitter_MainContent_popup_txtQuestion_I');
    var obj_cmbQType = document.getElementById('ctl00_ctl00_ASPxSplitter1_Content_ContentSplitter_MainContent_popup_cmbQType_I');

    if (obj_txtQuestion.value == "") {
        alert('Kindly Specify Question.')
        obj_txtQuestion.focus();
        return false;
    }
    if (obj_cmbQType.value == "--Select--") {
        alert('Kindly Select Question Type.')
        obj_cmbQType.focus();
        return false;
    }

    return true;
}